package net.towee.client.com.repo;

import net.towee.client.com.app.Presenter;
import net.towee.model.repo.NodeData;

/**
 * This part of repository should show information about documents and nodes.
 * Also web interface must contain "add" buttons for some kind of documents
 * and nodes.
 * 
 * @author c58
 */
public interface RepositoryShower extends Presenter {
	/**
	 * This method show given node. It may be tree node(then it show
	 * nodes and documents what contains in given node), or document node
	 * (then it show document by some Document Presenter).
	 * 
	 * @param node
	 */
	void showTreeNode(NodeData node);
}
